package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Getter
@Setter
public class Gathering {
    private Long id;

    private Officialstu student;//学员信息

    private BigDecimal totalFee;//收款金额

    private BigDecimal noPay;//未交金额

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date receiptTime;//收款时间

    private Employee payee;//收款人

    private Employee marketer;//营销人员

    private SystemDictionaryBill ittclass;//班级

    private SystemDictionaryBill payment;//支付方式

    private String no;//单号

    private String remark;//备注

    private Integer state = 0;//审核状态[0未审核 1已审核]
}